﻿@Html.ValidationSummary(true)
@model Citi.ReportManager.WebUi.Models.ReportFolderModel
<div class="editor-label">
    Category &nbsp;&nbsp;&nbsp;
    @Html.DropDownListFor(model => model.CategoryId, (IEnumerable<SelectListItem>)ViewBag.Categories)
    @Html.ValidationMessageFor(model => model.CategoryId)
</div>
<div class="editor-label">
    Folder&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    @Html.TextBoxFor(model => model.FolderPath, new { maxlength = 1000 })
    @Html.ValidationMessageFor(model => model.FolderPath)
</div>
<div class="editor-label">
    How many days to backup?&nbsp;
    @Html.TextBoxFor(model => model.DaysToBackup, new { maxlength = 3, style = "width:50px" })
    @Html.ValidationMessageFor(model => model.DaysToBackup)
</div>
<br />
<fieldset>
    <legend>Advanced Options</legend>
    <div>
        @Html.CheckBoxFor(model => model.IncludeDirectories) Include Folders?
    </div>
    <div>
        @Html.CheckBoxFor(model => model.CanConvertToXlsb) Can convert .xls and .xlsx files
        to .xlsb?
    </div>
    <div>
        @Html.CheckBoxFor(model => model.SeparateInFolder) Separate files in folders (YYYY.MM)?
    </div>
    <div>
        @Html.CheckBoxFor(model => model.MoveFilePermanently) Move files permanently? (If not checked only a copy will be done)
    </div>
</fieldset>
